﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoyoEden.Models;

namespace CoyoEden.Services
{
    public interface IAuthorProfileService
    {
        /// <summary>
        /// Retrieves a Page from the provider based on the specified id.
        /// </summary>
        AuthorProfile SelectProfile(string id);
        /// <summary>
        /// Inserts a new Page into the data store specified by the provider.
        /// </summary>
        void InsertProfile(AuthorProfile profile);
        /// <summary>
        /// Updates an existing Page in the data store specified by the provider.
        /// </summary>
        void UpdateProfile(AuthorProfile profile);
        /// <summary>
        /// Deletes a Page from the data store specified by the provider.
        /// </summary>
        void DeleteProfile(AuthorProfile profile);
        /// <summary>
        /// Retrieves all Pages from the provider and returns them in a List.
        /// </summary>
        List<AuthorProfile> FillProfiles();
    }
}
